package com.ruoyi.book.service;

import java.util.List;
import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.book.domain.BookCommission;

/**
 * 图书委托Service接口
 * 
 * @author hd
 * @date 2025-03-06
 */
public interface IBookCommissionService 
{
    /**
     * 查询图书委托
     * 
     * @param commissionId 图书委托主键
     * @return 图书委托
     */
    public BookCommission selectBookCommissionByCommissionId(Long commissionId);

    /**
     * 查询图书委托列表
     * 
     * @param bookCommission 图书委托
     * @return 图书委托集合
     */
    public List<BookCommission> selectBookCommissionList(BookCommission bookCommission);

    /**
     * 新增图书委托
     * 
     * @param bookCommission 图书委托
     * @return 结果
     */
    public int insertBookCommission(BookCommission bookCommission);

    /**
     * 修改图书委托
     * 
     * @param bookCommission 图书委托
     * @return 结果
     */
    public int updateBookCommission(BookCommission bookCommission);

    /**
     * 批量删除图书委托
     * 
     * @param commissionIds 需要删除的图书委托主键集合
     * @return 结果
     */
    public int deleteBookCommissionByCommissionIds(Long[] commissionIds);

    /**
     * 删除图书委托信息
     * 
     * @param commissionId 图书委托主键
     * @return 结果
     */
    public int deleteBookCommissionByCommissionId(Long commissionId);
}
